<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * CodeIgniter
 *
 * An open source application development framework for PHP 4.3.2 or newer
 *
 * @package		EpicLine
 * @author		Attila Nadas
 * @copyright	Copyright (c) 2008, Attila Nadas
 * @license		http://codeigniter.com/user_guide/license.html
 * @link		http://codeigniter.com
 */

// ------------------------------------------------------------------------

/**
 * EpicLine base helper
 *
 * @package		CodeIgniter
 * @subpackage	Helpers
 * @category	Helpers
 * @author		Attila Nadas
 */

// ------------------------------------------------------------------------

/**
 * local_date
 *
 * Local (hungarian) date from timestamp
 *
 * @access	public
 * @param	int	timestamp
 * @return	string
 */	
if ( ! function_exists('local_date'))
{
	function local_date($timestamp)
	{
		return date("Y-m-d H:i:s", $timestamp);
	}
}

/**
 * dump
 *
 * dump data
 *
 * @access	public
 * @param	variable
 * @return	none
 */	
if ( ! function_exists('dump'))
{
	function dump($data) {
		
	
		print "<pre><===>\n";
		print_r($data);
		print "<br><===></pre>\n";
	}
}

// ------------------------------------------------------------------------
/* End of file application_date_helper.php */
/* Location: ./system/application/helpers/base_helper.php */